package com.qingcheng.dao;

import com.qingcheng.pojo.system.RoleResource;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface RoleResourceMapper extends Mapper<RoleResource> {


    @Select("SELECT resource_id FROM tb_role_resource WHERE role_id = #{id} ")
    public List<Integer> findResourceIdById(@Param("id") Integer id);
}
